<%@ include file="/common/taglibs.jsp"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/page" prefix="page" %>

<%-- 
Due to a bug between Tomcat and Sitemesh error pages are not decorated.
So this page is decorated manually.

Reference:
http://raibledesigns.com/page/rd?anchor=my_tiles_to_sitemesh_migration
 --%>

<page:applyDecorator name="common"> 
<html>
  <head>
    
    <title><fmt:message key="common.errorPage.title" /></title>
	<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
	
	<link rel="stylesheet" type="text/css" href='<c:url value="/css/main.css" />'>
	
  </head>
  
  <body>
    			<p class="errorTitle">
			<fmt:message key="common.errorPage.p1" />
		</p>
		<p class="errorMessage">
			<fmt:message key="common.errorPage.p2" />
		</p>
		<br>
		<div>
			<fmt:message key="common.errorPage.p3" />
			<p>
			Error Code: <%=request.getServerName() %>
			</p>
		</div>
  </body>
</html>
</page:applyDecorator>
